package io.github.zhengyue.oop

class Girl(var chactor:String, var voice:String) {
    fun smile() {
        println("hahahaha")
    }

    fun cry() {
        println("55555")
    }
}

fun main(args: Array<String>) {
    var girl = Girl("漂亮", "甜美")
    println("这个女孩声音${girl.voice}")
    girl.cry()
    girl.smile()
}